#define _CRT_SECURE_NO_WARNINGS
#include"Stack.h"

void Test01()
{
	Stack S;
	StackInit(&S);
	StackPush(&S, 1);
	StackPush(&S, 2);
	StackPush(&S, 3);
	StackPush(&S, 4);
	StackPush(&S, 5);

	//StackPop(&S);
	//int ret = StackSize(&S);
	//while (S._top)
	//{
	//	STDataType ret = StackTop(&S);
	//	printf("%d ",ret);
	//	StackPop(&S);
	//}
	StackDestroy(&S);
}
int main()
{
	Test01();
	return 0;
}